/*
 * SdlEventsReader.h
 *
 *  Created on: Nov 14, 2011
 *      Author: gonzalo
 */

#ifndef SDLEVENTSREADER_H_
#define SDLEVENTSREADER_H_

#include "../Threads/Thread.h"
#include "../../Server/ColaMensajesSDL.h"

class SdlEventsReader: public Thread {
public:
	SdlEventsReader(ColaMensajesSDL* colaALlenar,void* engine);
	virtual ~SdlEventsReader();

	void terminar();
protected:
	virtual void* run();
private:
	void* engine;
	ColaMensajesSDL* colaALlenar;
	bool running;
};

#endif /* SDLEVENTSREADER_H_ */
